package com.lanou3g.demo.mapper;

import com.lanou3g.demo.entity.Cost;

import java.util.List;



public interface CostMapper {

    List<Cost> findAll();

    int addCost(Cost cost);

    int delOne(Integer costId);

    int updateCost(Cost cost);

    //修改状态
    int upStatus(Integer costId);
  //排序
    List<Cost> bdDesc();
    List<Cost> bdAsc();
    List<Cost> bcDesc();
    List<Cost> bcAsc();
}